//
//  PickerMoneyView.h
//  CarCare
//
//  Created by ileo on 14-8-28.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol PickerViewDelegate <NSObject>

-(void)pickerWillShowHeight:(CGFloat)height time:(NSTimeInterval)time;
-(void)pickerWillDismissHeight:(CGFloat)height time:(NSTimeInterval)time;

@end

@interface PickerView : UIView

@property (nonatomic, assign) BOOL show;
@property (nonatomic, weak) id<PickerViewDelegate> delegate;

-(id)initWithDatas:(NSArray *)datas clickOnOK:(void(^)(NSInteger index))ok clickOnCancel:(void(^)())cancel;

-(void)showWithAnimaton:(BOOL)animation;
-(void)dismissWithAnimation:(BOOL)animation;

@end


